/*
 * @Author: hzxOnlineOk
 * @Date: 2025-08-20 17:47:41
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2025-08-21 02:04:31
 * @Description: 请填写简介
 */
#include <string.h>
#include "plat/plat.h"
#include "test.h"
#include "core/riscv.h"

int main(int argc, char **argv)
{
    // plat_init();
    //  test_env();
    riscv_t *riscv = riscv_create();
    printf("hello world!\n");
    if (SDL_Init(SDL_INIT_VIDEO) < 0)
    {
        printf("SDL could not initialize! SDL_Error: %s\n", SDL_GetError());
        return 1;
    }
    else
    {
        printf("SDL init success!\n");
    }
    SDL_Quit();

    return 0;
}